package com.atguigu.tingshu.user.service;

import com.atguigu.tingshu.model.account.UserAccount;
import com.atguigu.tingshu.model.user.UserCollect;
import com.atguigu.tingshu.model.user.UserInfo;
import com.atguigu.tingshu.model.user.UserPaidAlbum;
import com.atguigu.tingshu.model.user.UserPaidTrack;
import com.atguigu.tingshu.vo.user.UserInfoVo;
import com.atguigu.tingshu.vo.user.UserPaidRecordVo;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface UserInfoService extends IService<UserInfo> {

    UserInfoVo getCurrentUserInfo();

    void updateUser(UserInfo userInfo);

    UserInfoVo getUserInfoById(Long userId);

    List<UserPaidTrack> getUserBuyTrackIdList(Long userId, Long albumId);

    Boolean isBuyAlbum(Long userId, Long albumId);

    void saveUserPaidRecord(UserPaidRecordVo userPaidRecordVo);
}
